
/* 顶部栏样式 */
header {
    width: 100%;
    height: 84px;
    background: #d43c33;
    display: flex;
    /* 两端布局 */
    justify-content: space-between;
    /* 竖直方向布局 */
    align-items: center;
    padding: 0 15px;
}
header .logo {
    width: 142px;
    height: 25px;
}
.download_btn {
    width: 100px;
    height: 36px;
    border-radius: 36px;
    color: #d43c33;
    border: none;
    outline: none;
}
/* 选项卡切换 */
.viewport {
    width: 300%;
  
}
.screen {
    width: 33.33%;
    height: 100%;
    /* background-color: red;
    border: 4px solid black; */
    float: left;
}
.clearFix::after{
    content: "";
    display: block;
    clear: both;
}
.view {
    width: 100%;
    overflow: hidden;
}
/* 选项卡切换动画 */
#t1:checked~.view>.viewport {
    margin-left: 0;
}
#t2:checked~.view>.viewport {
    margin-left: -100%;
}
#t3:checked~.view>.viewport {
    margin-left: -200%;
}
.viewport {
    /* transition: 属性 时间; */
    transition: margin-left 0.4s;
}
/* 隐藏默认的radio控件 []属性选择器 */
input[name="tab"] {
    display: none;
}
/* 导航样式 */
nav {
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #efefef;

}
nav label {
    display: block;
    float: left;
    width: 33.33%;
    height: 100%;
    text-align: center;
    line-height: 40px;
    font-size: .46875rem;
}
/* 导航条样式变化切换 */
#t1:checked~nav>label:first-child {
    color: #d43c33;
    font-weight: bold;
}
#t2:checked~nav>label:nth-child(2) {
    color: #d43c33;
    font-weight: bold;
}
#t3:checked~nav>label:nth-child(3) {
    color: #d43c33;
    font-weight: bold;
}

.rec_music {
    width: 100%;
    display: flex;
    /* flex里面的元素有一个特点，如果排不下，会挤在一行，并且缩小自身的宽度,如果要在不同行，则使用/* flex里面的元素有一个特点，如果排不下，会挤在一行，并且缩小自身的宽度,如果要在不同行，则使用 */
    flex-wrap: wrap;
    justify-content: space-between;
}
.rec_music li {
    width: 32.7%;
    font-size: .4375rem;
    margin-bottom: .46875rem;
}
.rec_music li img {
    width: 100%;
}
/* 标题样式 */
.title {
    font-size: .46875rem;
    padding: .46875rem 0;
}
.title::before {
    content: "";
    width: 3px;
    height: 15px;
    background: #d43c33;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
    margin-right: .46875rem;
}
.new_song li ,.search_song li{
    height: 1.71875rem;
    border-bottom: 1px solid rgb(216,216,216);
    padding: .25rem .46875rem 0 .46875rem;
}
.song_name {
    font-size: .53125rem;
    color: #333;

}
.song_info {
    font-size: .375rem;
    color: gray;

}
.play_btn {
    width: .6875rem;
    height: .6875rem;
    float: right;
    background: url(../img/index_icon_2x.png) no-repeat;
    background-size: 5.1875rem 3.03125rem;
    background-position: -0.75rem 0;
    position: relative;
    top: -0.9375rem;
}
/* 搜索结果 */
.match_info li {
    height: 2.1875rem;
    border-bottom: 1px solid #efefef;
    padding: .3125rem .46875rem 0 .46875rem;
    display: none;
}
.match_info li a {
    display: flex;
    justify-content: start;
    align-items: center;
}
.match_info li img {
    width: 1.5625rem;
    height: 1.5625rem;
    margin-right: .46875rem;
}
